
package jpa.entities;
import java.io.Serializable;
import java.util.List;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Temporal;

@Entity
@Table(name="CAR")
public class Car implements Serializable {
    private static final long serialVersionUID = 1L;
	@Id
	private String model;		
	private String year;		
	private String manufacturer;		

	public Car(){
	}

	public String getModel(){
		return model;
	}

	public void setModel(String model){
		this.model = model;
	}
	
	public String getYear(){
		return year;
	}

	public void setYear(String year){
		this.year = year;
	}
	
	public String getManufacturer(){
		return manufacturer;
	}

	public void setManufacturer(String manufacturer){
		this.manufacturer = manufacturer;
	}
	
}
